FROM frolvlad/alpine-java:jdk8-slim

LABEL maintainer=zhangshipeng

# 复制 JAR 包到容器中
COPY target/*.jar   /iot_server.jar

# 暴露端口
EXPOSE 8084

# 启动应用
ENTRYPOINT ["java", "-jar", "iot_server.jar"]